﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_PhieuThu
    {
        public static void themPhieuThu(DTO_PhieuThu p)
        {
            DAO_PhieuThu.themPhieuThu(p);
        }
        public static DataTable hienthiDanhSachPhieuThu()
        {
            return DAO_PhieuThu.hienthiDanhSachPhieuThu();
        }
        public static DataTable hienthiDanhSachPhieuThuInTheoMaPhieuThu(DTO_PhieuThu p)
        {
            return DAO_PhieuThu.hienthiDanhSachPhieuThuInTheoMaPhieuThu(p);
        }
        public static DataTable hienthiHoaDonInTheoMaPhieuThu(DTO_PhieuThu p)
        {
            return DAO_PhieuThu.hienthiHoaDonInTheoMaPhieuThu(p);
        }

        public static DataTable hienthiDanhSachPhieuThuDeBaoCao()
        {
            return DAO_PhieuThu.hienthiDanhSachPhieuThuDeBaoCao();
        }
    }
}
